package com.junmeng.jdemo.recycler;

import android.os.Bundle;
import android.util.Log;
import android.view.MotionEvent;
import android.view.View;

import com.example.common.base.BaseActivityDelegate;
import com.junmeng.jdemo.R;
import com.junmeng.jdemo.recycler.chat.viewstub.ChatDemoWithViewStubActivity;
import com.junmeng.jdemo.recycler.chat.ChatDemoActivity;
import com.junmeng.jdemo.recycler.viewbinding2.TestViewBinding2Activity;

public class RecyclerMainActivity extends BaseActivityDelegate {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_recycler_main);
    }

    public void onClickChat(View view) {
        gotoActivity(ChatDemoActivity.class);
    }

    public void onClickTest(View view) {
        gotoActivity(RecyclerViewActivity.class);
    }

    public void onClickChatList(View view) {
        gotoActivity(ChatListActivity.class);
    }

    public void onCLickLayout(View view) {
        gotoActivity(ListTestActivity.class);
    }

    public void onClickChatWithViewStub(View view) {
        gotoActivity(ChatDemoWithViewStubActivity.class);
    }

    public void onClickChatWithViewBinding(View view) {
        gotoActivity(com.junmeng.jdemo.recycler.chat.viewbinding.ChatDemoActivity.class);
    }

    public void onClickChatWithDataBinding(View view) {
        gotoActivity(com.junmeng.jdemo.recycler.chat.databinding.ChatDemoActivity.class);
    }

    public void onClickEasyViewBinding(View view) {
        gotoActivity(TestViewBinding2Activity.class);

    }
}